<?php /* Smarty version Smarty-3.0.6, created on 2011-07-25 11:40:55
         compiled from "E:\AppServ\wz\think\speed/template\member/main_record.html" */ ?>
<?php /*%%SmartyHeaderCode:117204e2ce5c7bf0e64-06834709%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c2339afcaddff35c6ff8f04991af81d3265cc855' => 
    array (
      0 => 'E:\\AppServ\\wz\\think\\speed/template\\member/main_record.html',
      1 => 1311325434,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '117204e2ce5c7bf0e64-06834709',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'E:\AppServ\wz\think\speed\SpeedPHP\Drivers\Smarty\plugins\modifier.date_format.php';
?><?php $_template = new Smarty_Internal_Template("header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<link href="themes/css/detection.css" rel="stylesheet" type="text/css" media="screen">
<div id ="d_sidebar">
	<h2><a href ="#">告警设置</a></h2>
	<div class = "d_title">
		<span>告警通知</span><br>
	</div>
		&nbsp;&nbsp;&nbsp;<a href ="#"><span>告警通知历史</span></a><br>
		&nbsp;&nbsp;&nbsp;<a href = "#"><span>告警通知统计</span></a><br>
	<div class = "d_title">
		<span>故障管理</span><br>
	</div>
		&nbsp;&nbsp;&nbsp;<a href ="#"><span>故障历史</span></a><br>
	<div class = "d_title">
		<span>告警通知设置</span><br>
	</div>
		&nbsp;&nbsp;&nbsp;<a href = "#"><span>站点监控</span></a><br>
	<div class = "d_title">
		<span>自定义告警</span><br>
	</div>
		&nbsp;&nbsp;&nbsp;<a href = "#"><span>自定义告警线状态</span></a>
</div>

<div id = "d_container">
	<p><?php echo $_smarty_tpl->getVariable('contents')->value;?>
</p>
	<p><?php echo $_smarty_tpl->getVariable('web_title')->value;?>
</p>
	<p><?php echo $_smarty_tpl->getVariable('web_domain')->value;?>
</p>
<!--开始循环页码，同时如果循环到当前页则不显示链接-->
<?php  $_smarty_tpl->tpl_vars['thepage'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('results')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['thepage']->key => $_smarty_tpl->tpl_vars['thepage']->value){
?>
	<?php if ($_smarty_tpl->tpl_vars['thepage']->value!=$_smarty_tpl->getVariable('pager')->value['current_page']){?>
	<table width="900" border="0" align="center">
		<tr>
				<td width="150">检测时间:<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['thepage']->value['addtime'],'%Y-%m-%d %H:%M:%S');?>
</td>				
				<td width="100">状态:<?php echo $_smarty_tpl->tpl_vars['thepage']->value['status_code'];?>
</td>
				<td width="100">IP：<?php echo $_smarty_tpl->tpl_vars['thepage']->value['site_ip'];?>
</td>				
				
		</tr>
	</table>
	<?php }else{ ?>
		<b><?php echo $_smarty_tpl->tpl_vars['thepage']->value;?>
</b>
		检测时间：<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['thepage']->value['addtime'],'%Y-%m-%d %H:%M:%S');?>

		状态：<?php echo $_smarty_tpl->tpl_vars['thepage']->value['status_code'];?>

		IP:<?php echo $_smarty_tpl->tpl_vars['thepage']->value['site_ip'];?>

	<?php }?>
<?php }} ?>

<?php if ($_smarty_tpl->getVariable('pager')->value){?>
共有记录<?php echo $_smarty_tpl->getVariable('pager')->value['total_count'];?>
条，共有<?php echo $_smarty_tpl->getVariable('pager')->value['total_page'];?>
页（每页<?php echo $_smarty_tpl->getVariable('pager')->value['page_size'];?>
条记录）：
<!--在当前页不是第一页的时候，显示前页和上一页-->
<?php if ($_smarty_tpl->getVariable('pager')->value['current_page']!=$_smarty_tpl->getVariable('pager')->value['first_page']){?>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'nrecord','page'=>$_smarty_tpl->getVariable('pager')->value['first_page'],'keyword'=>$_smarty_tpl->getVariable('keyword')->value),$_smarty_tpl);?>
">前页</a> | 
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'nrecord','page'=>$_smarty_tpl->getVariable('pager')->value['prev_page'],'keyword'=>$_smarty_tpl->getVariable('keyword')->value),$_smarty_tpl);?>
">上一页</a> | 
<?php }?>
<!--在当前页不是最后一页的时候，显示下一页和后页-->
<?php if ($_smarty_tpl->getVariable('pager')->value['current_page']!=$_smarty_tpl->getVariable('pager')->value['last_page']){?> | 
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'nrecord','page'=>$_smarty_tpl->getVariable('pager')->value['next_page'],'keyword'=>$_smarty_tpl->getVariable('keyword')->value),$_smarty_tpl);?>
">下一页</a> | 
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'nrecord','page'=>$_smarty_tpl->getVariable('pager')->value['last_page'],'keyword'=>$_smarty_tpl->getVariable('keyword')->value),$_smarty_tpl);?>
">后页</a>
<?php }?>
<?php }?>

</div>
<div class = "clear"></div>

<?php $_template = new Smarty_Internal_Template("footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>